<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>




</head>
<body>

{template 'header.html'}








<div class="container">
	
    
    <div class="main">
    	
        <div class="mod">
        	<div class="head">{$title}参数</div>
			<style>
                .view{
                    position:relative;
                }
                .view .thumb{
                    width:100px; position:absolute; left:20px; top:0;
                } 
                .view .desc{
                    float:left; display:inline; margin:0 0 0 120px;
                } 
            </style>
            <div class="body view">
                <div class="thumb">
                    <a href="#"><img src="{php echo $r[thumb] ? $r[thumb] : 'misc/nopic.gif'}" width="100"/></a>
                </div>
                <div class="desc">
                    <strong><a href="{url($r[url])}">{$r[title]}</a></strong><br/>
                    楼盘描述：{$r[description]}<br/>
                    楼盘地址：{$r[address]}<br/>
                    物业类型：{$r[propertytype]}<br/>
                    <!--开发商：{$r[developer]}-->
                    电话：{$r[telephone]}<br/>
                    均价：{$r[price]}元/㎡<br/>
                    楼盘详情 / 楼盘图库 / 楼盘动态 / 人气：{$r[hits]}
                </div>
                <div class="clear"></div>
            </div>
        </div>
        
        <div class="mod">
        	<div class="head">
            	楼盘详情
            </div>
            <div class="body">
            	{$content}
            </div>
        </div>
         
        {php list($mod, $field, $value) = array('house', 'houseid', $houseid);}
        {template 'load.html','comment'}
    
    
    <p>
        {if isset($MODULE[error_report])}<a href="javascript:$('#errors').submit();">[错误报告]</a>{/if} 
        {if isset($MODULE[mail])}<a href="javascript:$('#sendmail').submit();">[推荐]</a>{/if} 
        <a href="member/collect.php?contentid={$contentid}&action=add">[收藏]</a>
        <a href="javascript:window.print();">[打印]</a> <a href="javascript:window.close();">[关闭]</a> 
        <a href="{SITE_URL}{$url}#top">[返回顶部]</a> 
    </p>
    </div>
    
    
    <script type="text/javascript">
		$(function(){
			$(window).scroll(function(){ 
				if($(window).scrollTop()<165){
					$('.aside').removeClass('fixed');
				}
				
				// 不给ie6效果
				if($(window).scrollTop()>165&&!($.browser.msie&&$.browser.version=='6.0')){
					$('.aside').addClass('fixed');
				}
			});
		})
	</script>
    <style type="text/css">
		/* 解决固定层在IE6下闪的问题 */
		*html{
			background-image:url(about:blank);
			background-attachment:fixed;
		}
		.fixed{
			position:absolute; 
			margin-left:10px;
			position:fixed; 
			clip:rect(0 100% 100% 0);
			_position:absolute;
			
			/* 底部 */
			top:0px;
		}
	</style>
    <div class="aside">
    	
        <style type="text/css">
			.aside .rss{
				margin:20px 0 10px 10px; height:auto; overflow:hidden;
			}
			.aside .rss img{
				float:left; display:inline; margin:0 5px 5px 0;
			}
		</style>
        <div class="rss">
        	<img src="skin/images/rss.png"/>
        	<img src="skin/images/zx.png"/>
        	<img src="skin/images/xg.png"/>
        	<img src="skin/images/qq.png"/>
        	<img src="skin/images/google.png"/>
        </div>
        
        
    	<div class="head">热门阅读</div>
    	<ul>
          {get sql="SELECT * FROM `table_app` WHERE  status=99 ORDER BY appid DESC" rows="20" page="$page"}
            <li>({$r[hits]})&nbsp;<a href="{url($r[url])}" target="{$target}">{str_cut($r[title], 300)}</a></li>
            {/get}
          </ul>


         <style type="text/css">
		 	.post_feedback{
				height:30px; text-align:center; background:#F8F8F8; margin:10px; padding:20px 0; 
			}
		 </style>	
         <div class="post_feedback">
         	<a href="#">我有话要说</a>
         </div>
       
    </div>
</div>

<script language="javascript" src="?module=app&action=count&appid={$appid}"></script>
{template 'footer.html'}